class Restaurant ():
    def __init__(self, restaurant_name, cuisine_type):
        self.restaurant_name = restaurant_name
        self.cuisine_type = cuisine_type
        self.number_served = 0
    def describe_restaurant(self):
        print("餐馆的名字: "+self.restaurant_name)
        print("烹饪方法: "+self.cuisine_type)
    def open_restaurant(self):
        print("The "+self.restaurant_name+" is open.")
        print("there are "+str(self.number_served)+" people.")
    def set_number_served(self,people):     #设置就餐人数
        self.number_served = people
    def increment_number_served(self,people):  #就餐人数递增
        self.number_served += people
restaurant = Restaurant('美食驾到','中餐')
print("餐馆的名字: "+restaurant.restaurant_name)
print("烹饪方法: "+restaurant.cuisine_type)
restaurant.describe_restaurant()
restaurant.open_restaurant()
restaurant.set_number_served(56)  #设置就餐人数
print("How many people: "+str(restaurant.number_served))
print(restaurant.number_served)
restaurant.increment_number_served(55)    #就餐人数递增
print(restaurant.number_served)